import { useState, useEffect } from "react";
import { Container } from "react-bootstrap";
import { useParams } from "react-router-dom";
import api from "../request";
import Poem from "../Component/Poem";

function PoemDetailPage() {
    let params = useParams();
    let poemId = params.id;

    return (
        <Container>
            <Poem poemId={poemId} />
        </Container>
    );
}

export default PoemDetailPage;
